#include <iostream>
using namespace std;

class Rect
{
	private:
		float top, right, bottom, left;

	public:
		Rect()
		{
			top = right = bottom = left = 0;
		}

		Rect(float top, float right, float bottom, float left)
		{
			this->top = top;
			this->right = right;
			this->bottom = bottom;
			this->left = left;
		}

		float getTop()
		{
			return top;
		}

		float setTop(float top)
		{
			this->top = top;
		}
		float getRight()
		{
			return right;
		}
		float setRight(float right)
		{
			this->right = right;
		}
		float getBottom()
		{
			return bottom;
		}
		float setBottom(float bottom)
		{
			this->bottom = bottom;
		}
		float getLeft()
		{
			return left;
		}

		float setLeft(float left)
		{
			this->left = left;
		}
};